package com.szcinda.repository;

import com.szcinda.service.TypeStringUtils;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import java.time.LocalDate;

@EqualsAndHashCode(callSuper = true)
@Data
@Entity
public class ContainerOrder extends BaseEntity {
    private String businessNumber;
    private String clientId;
    private String clientName;
    private String cabinetNumber;
    private String cabinetType;
    private LocalDate pickDate; // 提箱日期
    private String pickNumber;  // 提箱码
    private long lessReturnDays; // 剩余还箱天数
    private LocalDate returnDate; // 还箱日期
    private LocalDate preReturnDate; // 预计还箱日期
    private LocalDate actReturnDate; // 实际还箱日期
    private long beyondDays; // 超出天数
    private String packageType = TypeStringUtils.packageType1;
    private String returnPlace;
    private String returnCommand; // 还箱令
    private String carFile;
    private String orderNumber;
    private String remark;
    private String userId;
    private String userName;
    private String organizationId;
    private String organizationName;
    private int useDays;
    // 国际班列的ID
    private String orderId;
}
